namespace java com.zmyuan.demo.netty.thrift

service HelloWorldService {
    string sayHello(1:required string username)
}

struct Msg {
    1:required i64 id;
    2:optional binary content;
}

struct Content {
    1:required i64 id;
    2:optional string phone;
    3:optional double price;
    4:optional binary tbase;
}

struct ThriftRequest {
    1:required string command;
    2:optional binary requestParam;
}

struct ThriftResponse {
    1:optional binary body;
}

service FrameworkService {
    ThriftResponse execut(1:required ThriftRequest thriftRequest)
}